package com.ruoyi.system.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.anno.SnowflakeId;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 仓库基础信息对象 wms_warehouse_base
 *
 * @author ruoyi
 * @date 2025-06-12
 */
@Data
public class WmsWarehouseBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @SnowflakeId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long warehouseId;

    /** 仓库名称 */
    @ExcelProperty(value = "仓库名称")
    private String warehouseName;

    /** 仓库类型:1-原材料仓,2-成品仓,3-半成品仓,4-退货仓,5-中转仓,6-其他 */
    @ExcelProperty(value = "仓库类型:1-原材料仓,2-成品仓,3-半成品仓,4-退货仓,5-中转仓,6-其他")
    private String warehouseType;

    /** 仓库状态:1-活跃,2-停用,3-维护中 */
    @ExcelProperty(value = "仓库状态:1-活跃,2-停用,3-维护中")
    private String status;

    /** 所属区域ID */
    @ExcelProperty(value = "所属区域ID")
    private Long regionId;

    /** 详细地址 */
    @ExcelProperty(value = "详细地址")
    private String address;

    /** 联系人 */
    @ExcelProperty(value = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @ExcelProperty(value = "联系电话")
    private String contactPhone;

    /** 联系邮箱 */
    @ExcelProperty(value = "联系邮箱")
    private String contactEmail;

    /** 建筑面积(㎡) */
    @ExcelProperty(value = "建筑面积(㎡)")
    private BigDecimal totalArea;

    /** 可用面积(㎡) */
    @ExcelProperty(value = "可用面积(㎡)")
    private BigDecimal usableArea;

    /** 仓库描述 */
    @ExcelProperty(value = "仓库描述")
    private String description;

}
